<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    li {
      list-style: none;
      display: inline-block;
      padding: 10px;
    }
    li + li {
      border-left: 1px solid #ccc;
    }
  </style>
</head>
<body>
  <ul>
    <li>ddd</li>
    <li>sss</li>
    <li>aaa</li>
  </ul>
</body>
</html>